/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package BUS;

import Entity.NhanVien;
import javax.swing.table.DefaultTableModel;

/**
 *
 * @author Dark_Knight
 */
public interface NhanVienBUS {
    boolean add(NhanVien data, int MaQuyen);
    boolean edit(NhanVien data, int MaQuyen);
    boolean delete(int id);
    
    void getAllDetail(DefaultTableModel model);
    
    NhanVien checkLogin(String usename, String pass);
    
    boolean changePass(int MaNV, String oldPass, String newPass);
}
